(function() {

	var PT;
	if (typeof this.PT === 'undefined') {
		PT = this.PT = {};
	} else {
		PT = this.PT;
	}
	
	PT.groupArray = {'BASIC': {flag: false, obj: undefined}, 'COMMODITY': {flag: false, obj: undefined}, 'FUTURE_OPTION': {flag: false, obj: undefined}, 'CASH_OPTION': {flag: false, obj: undefined}, 'DERIVATIVE_FUTURE': {flag: false, obj: undefined}, 'DERIVATIVE_OTHERS': {flag: false, obj: undefined}
					,'BULK':{flag: false, obj: undefined},'ROOT': {flag: false, obj: undefined}, 'URIC': {flag: false, obj: undefined}};

	PT.getAssetPage = function(type) {
		
		var basic = {
				title: "Basic Quote",
				type: "ASSET",
				module: "BASIC",
				sections: {
					core: {
						title: "Basic Quote", 
						alias: "Quote",
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										tag: {back: "TAG", label: "Tag", type: "Text", readOnly: true },
										//type: {back: "ASSET.TYPE", label: "Type", type :"InputMeaning", hasMeaning: true},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3], clearable:false },
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3], clearable:false/*, validators: ['requiredResult']*/ }
									}
								}
							]
						}]
					},
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "LANGUAGE.TRANSLITERATED SCRIPT", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	alias: "Classification",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOL", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL", field: "PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "CLA_MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "SEDOLCOMMONNAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "sedol",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "ric", type: "String" },
					        		{name: "ASSET STATE", field: "asset_state", type: "String"},
					        		{name: "COMMON NAME", field: "common_name", type: "String"},
					        		{name: "MIC.CLA_VALUE", field: "mic", type: "String"},
					        		{name: "Target Listing", field: "target_listing", type: "Checkbox"}
				        		]
							}
			        	]	
			        },			        
			        assetRelationship: {
			        	title: "Asset Realtionship",////////////////
			        	components: [
			        	    {	        		
			        	    	type: "form", 
								contents: [
									{
										title: "Base Asset Relationship", 
										schema: {
											pilc: {back: "", label: "PILC", type: "Text"},
					        				baseCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    }
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOTLADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					}
				}
			};
		
		var commodity = {
				title: "Commodity Quote",
				type: "ASSET",
				module: "COMMODITY",
				sections: {
					core: {
						title: "Quote",  
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										tag: {back: "TAG", label: "Tag", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3], clearable:false },
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3], clearable:false/*, validators: ['requiredResult']*/ },
										trades: {back: "TRADES", label:"", type:"Accessory"},
										sourceType: {back: "TRADES", field: "SOURCE TYPE", label:"Source Type", type: "Text", readOnly: true},
										sourceName: {back: "TRADES", field: "COMMON NAME", label:"Source Name", type: "Text", readOnly: true},
										priceUnit: {back: "PRICING UNIT", label: "Price Unit", type: "SelectDropdown", elem_id: "priceUnit"},
										btuPerBarrel: {back: "BTU PER BARREL", label: "BTU per Barrel", type :"DigitNumber"},
										barrelsPerTon: {back: "BARRELS PER TON", label: "Barrels Per Ton", type :"DigitNumber"}
									}
								}
							]
						}]
					},
					importantDates: {
						title: "Important Dates",  
						components: [
							{
				    	    	type: "table", 
				    	    	id: "IMPORTANTDATES",
				    	    	caption: "", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 220 },
				    	            {name: "Date", field: "VALUE", type: "String", editable: true, editType: "Text", width: 480}
				    	        ]
				    	    }]
					},
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "LANGUAGE.TRANSLITERATED SCRIPT", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },       	               
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        refData: {
			        	title: "Search Reference Data",////////////////
			        	alias: "Reference Data",
			        	components: [
								{
									type: "table", 
									id: "UNIFYING ROOT",
									caption: "Unifying Root",
									actions: [4],
									history: false,
									cols : [
									    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
									    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420} 
									]
								},
								{
									type: "table", 
									id: "RELATED PAGE",
									caption: "Related Explanatory IDN Pages",
									actions: [1,4],
									history: false,
									cols : [
									    {name: "Page RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
									]
								},
								{	        		
									type: "form", 
									contents: [
										{
											schema: {
												primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primarychain", actions: [0,3] },
												displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displaytype", hasMeaning: true}											
											}
										}
									]
				        	    }        	
			        	]	
			        },               
			        assetRelationship: {
			        	title: "Asset Relationship",////////////////
			        	components: [
			        	    {
								type: "table", 
								id: "",
								caption: "Source/Contributor Relationships (To Quote)",
								history: true, 
								actions: [1,3,4],
								cols : [
								    {name: "Contributor Code", field: "CODE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 180 },
								    {name: "ORGID", field: "", type: "String", relative: "", editable: true, editType: "Content", width: 100},
								    {name: "Client Site Loc. Number", field: "", type: "String", relative: "", editable: true, editType: "Content", width: 180},
								    {name: "Name", field: "", type: "String", relative: "", editable: true, editType: "Content", width: 240} 
					        	]
							},
				        	{
								type: "table", 
								id: "UNDERLYING ASSET",
								caption: "Underlying Asset Relationship to Notional Product",
								history: true, 
								actions: [1,3,4],
								cols : [
								    {name: "Notional Product", field: "CATEGORY.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 280 },
								    {name: "Meaning", field: "CATEGORY.CLA_MEANING", type: "String", relative: "CATEGORY.CLA_VALUE", editable: true, editType: "Content", width: 420} 
					        	]
							},
				        	{
								type: "table", 
								id: "RCS UNDERLYING PRODUCT",
								caption: "Asset Relationship to RCS Underlying Product", 
								history: true, 
								actions: [1,4],
								cols : [
					        		{name: "RCS Underlying Product", field: "CATEGORY.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 280 },
					        		{name: "Meaning", field: "CATEGORY.CLA_MEANING", type: "String", relative: "CATEGORY.CLA_VALUE", editable: true, editType: "Content", width: 420}   	                
					        	]
							}
			        	]	
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	actions: [1,3,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "LOCATION.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "LOCATION.CLA_MEANING", type: "String", relative: "LOCATION.CLA_VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOL", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL", field: "PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "CLA_MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "SEDOL.COMMON NAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "SEDOL SECONDARY QUOTE",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "RIC", type: "String" },
					        		{name: "Asset State", field: "ASSET STATE", type: "String"},
					        		{name: "Common Name", field: "COMMON NAME", type: "String"},
					        		{name: "MIC", field: "MIC.CLA_VALUE", type: "String"},
					        		{name: "Target Listing", field: "target_listing", type: "Checkbox"}
				        		]
							}
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOT LADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					},
					tradingInfo: {
						title: "Trading Info",  
						components: [
							{
								type: "form", 
								contents: [
									{
										schema: {
											tradingMarket: {back: "", label: "Trading Market", type: "SelectDropdown", elem_id: "tradingmarket"}
										}
									}
								]
							},
							{
				    	    	type: "table", 
				    	    	id: "TRADING HOURS",
				    	    	caption: "Trading Hours", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Session", field: "TRADING_SESSION", type: "String", editable: true, editType: "SelectDropdown", width: 160 },
				    	            {name: "Open Time", field: "OPEN_TIME", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Close Time", field: "CLOSE_TIME", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Settle Arrival Time", field: "SETTLE_ARRIVAL_TIME", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Closing Run Time", field: "CLOSING_RUN_TIME", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Update Time", field: "UPDATE_TIME", type: "String", editable: true, editType: "Text", width: 100}
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "TRADING PLATFORM",
				    	    	caption: "Trading Platform", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Platform", field: "TRADING_PLATFORM", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "SESSOIN_INDICATOR", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					},
			        miscellaneous: {
			        	title: "Miscellaneous", 
			        	alias: "Misc",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "EM Admin Status",
									schema: {
										emadmin_status: {back: "", label: "EM Admin Status", type: "Text", readOnly:true},
					    		    	emadmin_meaning: {back: "", label: "EM Admin Status Meaning", type :"Text", readOnly:true},
					    		    	emadmin_begin_date: {back: "", label: "Begin Date", type: "Text", readOnly:true},
					    		    	emadmin_button : {back: "", label: "", type: "Button", text: "History", className: "btn-primary"}
									}
								},
								{
									title: "Time Series",
									schema: {
										timeseries_adjusted: {back: "", label: "Basic Gap Adjusted", type: "Checkbox", readOnly: true},
										timeseries_trigger: {back: "", label: "Basic Gap Adjustment Trigger", type :"Text", readOnly:true},
										timeseries_button : {back: "", label: "", type: "Button", text: "Other Adjustment History", className: "btn-primary"}
									}
								}
							]
			        	},
			        	{
			    	    	type: "table",
			    	    	id: "DN",
			    	    	caption: "Forthcoming Major DN",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 140},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 280},
			    	        	{name: "Effective Date", field: "effective_date", type: "String", editable: true, editType: "Text", width: 160} 
			    	        ]
			    	    },
			    	    {
			    	    	type: "table",
			    	    	id: "DE",
			    	    	caption: "Forthcoming Major DE",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 220},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 360}
			    	        ]
			    	    }]	
			        },
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION TYPE",
			        	    	caption: "",  
			        	    	actions: [2,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "String", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }
				}
			};

		var futuresOption = {
				title: "Futures Option Quote",
				type: "ASSET",
				module: "FUTURE_OPTION",
				sections: {
					core: {
						title: "Quote", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										tag: {back: "TAG CLASSIFICATION", label: "Tag", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3]},
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3]/*, validators: ['requiredResult']*/ },
										trades: {back: "TRADES", label:"",type:"Accessory"},
										sourceType: {back: "TRADES", field: "SOURCE TYPE", label:"Source Type", type: "Text", readOnly: true},
										sourceName: {back: "TRADES", field: "COMMON NAME", label:"Source Name", type: "Text", readOnly: true},
										expiry: {back: "EXPIRY DATE", label: "Expiry", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										strikePrice: {back: "STRIKE PRICE", label: "Strike Price", type :"DigitNumber"},
										strikePriceMultiplier: {back: "STRIKE PRICE MULTIPLIER", label: "StrikePriceMultiplier", type :"DigitNumber"},
										callPutOption: {back: "CALL PUT OPTION", label: "Call Put Option", type: "SelectDropdown", elem_id: "callput"},
										lotSize: {back: "LOT SIZE", label: "Lot Size", type :"DigitNumber"},
										lotUnit: {back: "LOT UNIT", label: "Lot Unit", type: "SelectDropdown", elem_id: "lotunit"},
										exerciseStyle: {back: "EXERCISE STYLE", label: "Exercise Style", type: "SelectDropdown", elem_id: "exercisestyle"},
										initialMargin: {back: "INITIAL MARGIN", label: "Initial Margin", type: "DigitNumber"},
										tickValue: {back: "TICK VALUE", label: "Tick Value", type: "DigitNumber"},
										dailyTradingLimit: {back: "DAILY TRADING LIMIT", label: "Daily Trading Limit", type: "DigitNumber"},
										methodOfDelivery: {back: "METHOD OF DELIVERY", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
										cashInLieu: {back: "CASH IN LIEU", label: "Cash In Lieu", type: "DigitNumber"},							
										tradingStyle: {back: "TRADING STYLE", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
										periodicity: {back: "PERIODICITY", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
										adjustedFlag: {back: "ADJUSTED FLAG", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"},
										contractType: {back: "CONTRACT TYPE", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
										contractDate: {back: "CONTRACT DATE", label: "Contract Date", type :"Date", yearEnd: 2020, noDay: "yes"/*, validators: [{type:"dateFormat"}]*/},
										aiiCode: {back: "AIICODE", label: "AII Code", type: "Text"}
									}
								}
							]
						}]
					},
					importantDates: {
						title: "Important Dates",  
						components: [
							{
				    	    	type: "table", 
				    	    	id: "IMPORTANTDATES",
				    	    	caption: "", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Type", field: "CLA_TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 220 },
				    	            {name: "Date", field: "date", type: "String", editable: true, editType: "Text", width: 480}
				    	        ]
				    	    }]
					},
					seriesDescription: {
			        	title: "Series Description",
			        	components: [
								{	        		
									type: "form", 
									contents: [
										{
											schema: {
												englishSeriesDescription: {back: "SERIES DESCRIPTION", label: "English Series Description", type: "Text"}
											}
										}
									]
								},  
								{
									type: "table", 
									id: "SERIES DESCRIPTION.LOCAL",
									caption: "Local Language Series Description",
									actions: [1,2,3,4],
									history: true, 
									cols : [
									    {name: "Language", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
										{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
										{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
									]
								}					     	
			        	]	
			        },    
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "TRANSLITERATED_NAME", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        refData: {
			        	title: "Search Reference Data",////////////////
			        	alias: "Reference Data",
			        	components: [
								{
									type: "table", 
									id: "UNIFYING ROOT",
									caption: "Unifying Root",
									actions: [4],
									history: false,
									cols : [
									    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
									    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}
									]
								},
								{
									type: "table", 
									id: "RELATED PAGE",
									caption: "Related Explanatory IDN Pages",
									actions: [1,4],
									history: false, 
									cols : [
									    {name: "Page RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
									]
								},
								{	        		
									type: "form", 
									contents: [
										{
											//title: "", 
											schema: {
												primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primarychain", actions: [0,3] },
												displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displaytype", hasMeaning: true}											
											}
										}
									]
				        	    }        	
			        	]	
			        },
			        assetRelationship: {
			        	title: "Asset Relationship",////////////////
			        	components: [
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Base Asset Relationship", 
										schema: {
											pilc: {back: "", label: "PILC", type: "Text"},
					        				baseCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Underlying Asset Relationship", 
										schema: {
											underlyingRic: {back: "UNDERLYINGASSET.RIC", label: "RIC", type: "Text"},
											underlyingAssetState: {back: "UNDERLYINGASSET.STATE", label: "Asset State", type :"Text"},
											underlyingCommonname: {back: "UNDERLYINGASSET.COMMONNAME", label: "Common Name", type :"Text"}
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Secondary Underlying Asset Relationship", 
										schema: {
											secondaryRic: {back: "", label: "RIC", type: "Text"},
											secondaryAssetState: {back: "", label: "Asset State", type :"Text"},
											secondaryCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    }
			        	]	
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	actions: [1,3,4],
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "CLA_MEANING", type: "String", relative: "CLA_VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOLE", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL.BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL.PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "CLA_MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "ASSET.SEDOLCOMMONNAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "SEDOL",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "RIC", type: "String" },
					        		{name: "Asset State", field: "ASSET STATE", type: "String"},
					        		{name: "Common Name", field: "COMMON NAME", type: "String"},
					        		{name: "MIC", field: "MIC", type: "String"},
					        		{name: "Target Listing", field: "TARGET_LISTING", type: "Checkbox"}
				        		]
							}
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOT LADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					},
					tradingInfo: {
						title: "Trading Info",  
						components: [
							{
								type: "form", 
								contents: [
									{
										schema: {
											tradingMarket: {back: "", label: "Trading Market", type: "SelectDropdown", elem_id: "tradingmarket"}
										}
									}
								]
							},
							{
				    	    	type: "table", 
				    	    	id: "TRADINGHOURS",
				    	    	caption: "Trading Hours", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Session", field: "trading_session", type: "String", editable: true, editType: "SelectDropdown", width: 160 },
				    	            {name: "Open Time", field: "open_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Close Time", field: "close_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Settle Arrival Time", field: "settle_arrival_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Closing Run Time", field: "closing_run_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Update Time", field: "update_time", type: "String", editable: true, editType: "Text", width: 100}
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "TRADINGPLATFORM",
				    	    	caption: "Trading Platform", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Platform", field: "trading_platform", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					},
			        miscellaneous: {
			        	title: "Miscellaneous", 
			        	alias: "Misc",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "EM Admin Status",
									schema: {
										emadmin_status: {back: "ASSET.ENTITYMASTERINGSTATUS", label: "EM Admin Status", type: "Text", readOnly:true},
					    		    	emadmin_meaning: {back: "", label: "EM Admin Status Meaning", type :"Text", readOnly:true},
					    		    	emadmin_begin_date: {back: "ASSET.ENTITYMASTERINGSTATUSDATE", label: "Begin Date", type: "Text", readOnly:true},
					    		    	emadmin_button : {back: "", label: "", type: "Button", text: "History", className: "btn-primary"}			
									}
								},
								{
									title: "Time Series",
									schema: {
										timeseries_adjusted: {back: "", label: "Basic Gap Adjusted", type: "Checkbox", readOnly: true},
										timeseries_trigger: {back: "", label: "Basic Gap Adjustment Trigger", type :"Text", readOnly:true},
										timeseries_button : {back: "", label: "", type: "Button", text: "Other Adjustment History", className: "btn-primary"}			
									}
								}
							]
			        	},
			        	{
			    	    	type: "table",
			    	    	id: "DN",
			    	    	caption: "Forthcoming Major DN",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
								{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
								{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 140},
								{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 280},
								{name: "Effective Date", field: "effective_date", type: "String", editable: true, editType: "Text", width: 160}        	        	
			    	        ]
			    	    },
			    	    {
			    	    	type: "table",
			    	    	id: "DE",
			    	    	caption: "Forthcoming Major DE",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 220},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 360}
			    	        ]
			    	    }]	
			        },               
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION TYPE",
			        	    	caption: "",  
			        	    	actions: [2,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "String", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }			
				}
			};

		var derivativeFuture = {
				title: "Derivative Future Quote",
				type: "ASSET",
				module: "DERIVATIVE_FUTURE",
				sections: {
					core: {
						title: "Quote", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										tag: {back: "TAG CLASSIFICATION", label: "Tag", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3]},
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3]/*, validators: ['requiredResult']*/ },
										trades: {back: "TRADES", label:"",type:"Accessory"},
										sourceType: {back: "TRADES", field: "SOURCE TYPE", label:"Source Type", type: "Text", readOnly: true},
										sourceName: {back: "TRADES", field: "COMMON NAME", label:"Source Name", type: "Text", readOnly: true},
										expiry: {back: "EXPIRY DATE", label: "Expiry", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										tenor: {back: "", label: "Tenor", type: "SelectDropdown", elem_id: "tenor"},
										lotSize: {back: "LOT SIZE", label: "Lot Size", type :"DigitNumber"},
										lotUnit: {back: "LOT UNIT", label: "Lot Unit", type: "SelectDropdown", elem_id: "lotunit"},
										exerciseStyle: {back: "EXERCISE STYLE", label: "Exercise Style", type: "SelectDropdown", elem_id: "exercisestyle"},
										initialMargin: {back: "INITIAL MARGIN", label: "Initial Margin", type: "DigitNumber"},
										tickValue: {back: "TICK VALUE", label: "Tick Value", type: "DigitNumber"},
										dailyTradingLimit: {back: "DAILY TRADING LIMIT", label: "Daily Trading Limit", type: "DigitNumber"},
										methodOfDelivery: {back: "METHOD OF DELIVERY", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
										cashInLieu: {back: "CASH IN LIEU", label: "Cash In Lieu", type: "DigitNumber"},							
										tradingStyle: {back: "TRADING STYLE", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
										periodicity: {back: "PERIODICITY", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
										adjustedFlag: {back: "ADJUSTED FLAG", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"},
										contractType: {back: "CONTRACT TYPE", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
										contractDate: {back: "CONTRACT DATE", label: "Contract Date", type :"Date", yearEnd: 2020, noDay: "yes"/*, validators: [{type:"dateFormat"}]*/},
										aiiCode: {back: "AIICODE", label: "AII Code", type: "Text"},
										priceUnit: {back: "PRICING UNIT", label: "Price Unit", type: "SelectDropdown", elem_id: "priceUnit"},
										startDate: {back: "START DATE", label: "Start Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										endDate: {back: "END DATE", label: "End Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										daysToMaturity: {back: "", label: "Days to Maturity", type :"Text", readOnly: true}
									}
								}
							]
						}]
					},
					importantDates: {
						title: "Important Dates",  
						components: [
							{
				    	    	type: "table", 
				    	    	id: "IMPORTANTDATES",
				    	    	caption: "", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Type", field: "type", type: "String", editable: true, editType: "SelectDropdown", width: 220 },
				    	            {name: "Date", field: "date", type: "String", editable: true, editType: "Text", width: 480}
				    	        ]
				    	    }]
					},
					seriesDescription: {
			        	title: "Series Description",
			        	components: [
								{	        		
									type: "form", 
									contents: [
										{
											schema: {
												englishSeriesDescription: {back: "SERIESDESCRIPTION", label: "English Series Description", type: "Text"}
											}
										}
									]
								},  
								{
									type: "table", 
									id: "SERIESDESCRIPTION.LOCAL",
									caption: "Local Language Series Description",
									actions: [1,2,3,4],
									history: true, 
									cols : [
									    {name: "Language", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
										{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
										{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
									]
								}					     	
			        	]	
			        },    
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "TRANSLITERATED_NAME", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        refData: {
			        	title: "Search Reference Data",////////////////
			        	alias: "Reference Data",
			        	components: [
								{
									type: "table", 
									id: "UNIFYING ROOT",
									caption: "Unifying Root",
									actions: [4],
									history: false,
									cols : [
									    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
									    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}
									]
								},
								{
									type: "table", 
									id: "RELATED PAGE",
									caption: "Related Explanatory IDN Pages",
									actions: [1,4],
									history: false, 
									cols : [
									    {name: "Page RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
									]
								},
								{	        		
									type: "form", 
									contents: [
										{
											//title: "", 
											schema: {
												primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primarychain", actions: [0,3] },
												displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displaytype", hasMeaning: true}											
											}
										}
									]
				        	    }        	
			        	]	
			        },               
			        assetRelationship: {
			        	title: "Asset Relationship",////////////////
			        	components: [
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Base Asset Relationship", 
										schema: {
											pilc: {back: "", label: "PILC", type: "Text"},
					        				baseCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Underlying Asset Relationship to RIC", 
										schema: {
											underlyingRic: {back: "UNDERLYINGASSET.RIC", label: "RIC", type: "Text"},
											underlyingAssetState: {back: "UNDERLYINGASSET.STATE", label: "Asset State", type :"Text"},
											underlyingCommonname: {back: "UNDERLYINGASSET.COMMONNAME", label: "Common Name", type :"Text"}
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Secondary Underlying Asset Relationship to RIC", 
										schema: {
											secondaryRic: {back: "", label: "RIC", type: "Text"},
											secondaryAssetState: {back: "", label: "Asset State", type :"Text"},
											secondaryCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Underlying Asset Relationship to Notional Product", 
										schema: {
											assetRelationship_ric: {back: "UNDERLYINGASSET.RIC", label: "RIC", type: "Text"},
											assetRelationship_category: {back: "UNDERLYINGASSET.CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true} 			
										}
									}
								]
			        	    },
			        	    {
								type: "table", 
								id: "RCS UNDERLYING PRODUCT",
								caption: "Asset Relationship to RCS Underlying Product", 
								history: true, 
								cols : [
					        		{name: "RCS Underlying Product", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 280 },
					        		{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}   	                
					        	]
							}
			        	]	
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	actions: [1,3,4],
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "LOCATIONS.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "LOCATIONS.CLA_MEANING", type: "String", relative: "LOCATIONS.CLA_VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOL", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL.PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "ASSET.SEDOLCOMMONNAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "SEDOL",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "RIC", type: "String" },
					        		{name: "Asset State", field: "ASSET_STATE", type: "String"},
					        		{name: "Common Name", field: "COMMON_NAME", type: "String"},
					        		{name: "MIC", field: "MIC", type: "String"},
					        		{name: "Target Listing", field: "TARGET_LISTING", type: "Checkbox"}
				        		]
							}
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOT LADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					},
					tradingInfo: {
						title: "Trading Info",  
						components: [
							{
								type: "form", 
								contents: [
									{
										schema: {
											tradingMarket: {back: "", label: "Trading Market", type: "SelectDropdown", elem_id: "tradingmarket"}
										}
									}
								]
							},
							{
				    	    	type: "table", 
				    	    	id: "TRADING HOURS",
				    	    	caption: "Trading Hours", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Session", field: "trading_session", type: "String", editable: true, editType: "SelectDropdown", width: 160 },
				    	            {name: "Open Time", field: "open_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Close Time", field: "close_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Settle Arrival Time", field: "settle_arrival_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Closing Run Time", field: "closing_run_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Update Time", field: "update_time", type: "String", editable: true, editType: "Text", width: 100}
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "TRADING PLATFORM",
				    	    	caption: "Trading Platform", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Platform", field: "trading_platform", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					},					
			        miscellaneous: {
			        	title: "Miscellaneous",
			        	alias: "Misc",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "EM Admin Status",
									schema: {
										emadmin_status: {back: "ASSET.ENTITYMASTERINGSTATUS", label: "EM Admin Status", type: "Text", readOnly:true},
					    		    	emadmin_meaning: {back: "", label: "EM Admin Status Meaning", type :"Text", readOnly:true},
					    		    	emadmin_begin_date: {back: "ASSET.ENTITYMASTERINGSTATUSDATE", label: "Begin Date", type: "Text", readOnly:true},
					    		    	emadmin_button : {back: "", label: "", type: "Button", text: "History", className: "btn-primary"}			
									}
								},
								{
									title: "Time Series",
									schema: {
										timeseries_adjusted: {back: "", label: "Basic Gap Adjusted", type: "Checkbox", readOnly: true},
										timeseries_trigger: {back: "", label: "Basic Gap Adjustment Trigger", type :"Text", readOnly:true},
										timeseries_button : {back: "", label: "", type: "Button", text: "Other Adjustment History", className: "btn-primary"}			
									}
								}
							]
			        	},
						{
			    	    	type: "table",
			    	    	id: "DN",
			    	    	caption: "Forthcoming Major DN",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
								{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
								{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 140},
								{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 280},
								{name: "Effective Date", field: "effective_date", type: "String", editable: true, editType: "Text", width: 160}    	        	
			    	        ]
			    	    },
			    	    {
			    	    	type: "table",
			    	    	id: "DE",
			    	    	caption: "Forthcoming Major DE",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 220},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 360}
			    	        ]
			    	    }]	
			        },
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CRSUNIT",
			        	    	caption: "",  
			        	    	actions: [2,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "String", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }
				}
			};

		var cashOption = {
				title: "Cash Option Quote",
				type: "ASSET",
				module: "CASH_OPTION",
				sections: {
					core: {
						title: "Quote", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										tag: {back: "TAG CLASSIFICATION", label: "Tag", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3]},
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3]/*, validators: ['requiredResult']*/ },
										trades: {back: "TRADES", label:"",type:"Accessory"},
										sourceType: {back: "TRADES", field: "SOURCE TYPE", label:"Source Type", type: "Text", readOnly: true},
										sourceName: {back: "TRADES", field: "COMMON NAME", label:"Source Name", type: "Text", readOnly: true},
										strikePrice: {back: "DERIVATIVE.STRIKEPRICE", label: "Strike Price", type :"DigitNumber"},
										strikePriceMultiplier: {back: "STRIKE PRICE MULTIPLIER", label: "StrikePriceMultiplier", type :"DigitNumber"},
										callPutOption: {back: "CALL PUT OPTION", label: "Call Put Option", type: "SelectDropdown", elem_id: "callput"},
										lotSize: {back: "LOT SIZE", label: "Lot Size", type :"DigitNumber"},
										lotUnit: {back: "LOT UNIT", label: "Lot Unit", type: "SelectDropdown", elem_id: "lotunit"},
										exerciseStyle: {back: "EXERCISE STYLE", label: "Exercise Style", type: "SelectDropdown", elem_id: "exercisestyle"},
										initialMargin: {back: "INITIAL MARGIN", label: "Initial Margin", type: "DigitNumber"},
										tickValue: {back: "TICK VALUE", label: "Tick Value", type: "DigitNumber"},
										dailyTradingLimit: {back: "DAILY TRADING LIMIT", label: "Daily Trading Limit", type: "DigitNumber"},
										methodOfDelivery: {back: "METHOD OF DELIVERY", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
										cashInLieu: {back: "CASH IN LIEU", label: "Cash In Lieu", type: "DigitNumber"},							
										tradingStyle: {back: "TRADING STYLE", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
										periodicity: {back: "PERIODICITY", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
										adjustedFlag: {back: "ADJUSTED FLAG", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"},
										contractType: {back: "CONTRACT TYPE", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
										contractDate: {back: "CONTRACT DATE", label: "Contract Date", type :"Date", yearEnd: 2020, noDay: "yes"/*, validators: [{type:"dateFormat"}]*/},
										aiiCode: {back: "AII CODE", label: "AII Code", type: "Text"},
										startDate: {back: "", label: "Start Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										endDate: {back: "", label: "End Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										daysToMaturity: {back: "", label: "Days to Maturity", type :"Text", readOnly: true}	
									}
								}
							]
						}]
					},
					importantDates: {
						title: "Important Dates",  
						components: [
							{
				    	    	type: "table", 
				    	    	id: "IMPORTANTDATES",
				    	    	caption: "", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Type", field: "type", type: "String", editable: true, editType: "SelectDropdown", width: 220 },
				    	            {name: "Date", field: "date", type: "String", editable: true, editType: "Text", width: 480}
				    	        ]
				    	    }]
					},
					seriesDescription: {
			        	title: "Series Description",
			        	components: [
								{	        		
									type: "form", 
									contents: [
										{
											schema: {
												englishSeriesDescription: {back: "SERIESDESCRIPTION", label: "English Series Description", type: "Text"}
											}
										}
									]
								},  
								{
									type: "table", 
									id: "SERIESDESCRIPTION.LOCAL",
									caption: "Local Language Series Description",
									actions: [1,2,3,4],
									history: true, 
									cols : [
									    {name: "Language", field: "type", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
										{name: "Value", field: "value", type: "String", editable: true, editType: "Text", width: 360},
										{name: "Begin Date", field: "begin_date", type: "Date", width: 160}
									]
								}					     	
			        	]	
			        },    
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "TRANSLITERATED_NAME", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        refData: {
			        	title: "Search Reference Data",////////////////
			        	alias: "Reference Data",
			        	components: [
								{
									type: "table", 
									id: "UNIFYING ROOT",
									caption: "Unifying Root",
									actions: [4],
									history: false,
									cols : [
									    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
									    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}
									]
								},
								{
									type: "table", 
									id: "RELATED PAGE",
									caption: "Related Explanatory IDN Pages",
									actions: [1,4],
									history: false, 
									cols : [
									    {name: "Page RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
									]
								},
								{	        		
									type: "form", 
									contents: [
										{
											//title: "", 
											schema: {
												primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primarychain", actions: [0,3] },
												displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displaytype", hasMeaning: true}											
											}
										}
									]
				        	    }        	
			        	]	
			        },
			        assetRelationship: {
			        	title: "Asset Relationship",////////////////
			        	components: [
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Base Asset Relationship", 
										schema: {
											pilc: {back: "", label: "PILC", type: "Text"},
					        				baseCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Underlying Asset Relationship", 
										schema: {
											underlyingRic: {back: "UNDERLYINGASSET.RIC", label: "RIC", type: "Text"},
											underlyingAssetState: {back: "UNDERLYINGASSET.STATE", label: "Asset State", type :"Text"},
											underlyingCommonname: {back: "UNDERLYINGASSET.COMMONNAME", label: "Common Name", type :"Text"}
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Secondary Underlying Asset Relationship", 
										schema: {
											secondaryRic: {back: "", label: "RIC", type: "Text"},
											secondaryAssetState: {back: "", label: "Asset State", type :"Text"},
											secondaryCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    }
			        	]	
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	actions: [1,3,4],
			        	    	history: false,
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table",
			        	    	id: "MARKETLOCATIONS",
			        	    	caption: "Market Locations",        	    	 
			        	    	//actions: [1,3,4],
			        	    	history: false,
			        	    	cols : [
			        	        	{name: "Display Type(Common Name)", field: "value", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 800},
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOL", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "CLA_MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "SEDOL", field: "COMMON_NAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "SEDOL",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "RIC", type: "String" },
					        		{name: "Asset State", field: "ASSET_STATE", type: "String"},
					        		{name: "Common Name", field: "COMMON_NAME", type: "String"},
					        		{name: "MIC", field: "MIC", type: "String"},
					        		{name: "Target Listing", field: "TARGET_LISTING", type: "Checkbox"}
				        		]
							}
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOT LADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					},
					tradingInfo: {
						title: "Trading Info",  
						components: [
							{
								type: "form", 
								contents: [
									{
										schema: {
											tradingMarket: {back: "", label: "Trading Market", type: "SelectDropdown", elem_id: "tradingmarket"}
										}
									}
								]
							},
							{
				    	    	type: "table", 
				    	    	id: "TRADINGHOURS",
				    	    	caption: "Trading Hours", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Session", field: "trading_session", type: "String", editable: true, editType: "SelectDropdown", width: 160 },
				    	            {name: "Open Time", field: "open_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Close Time", field: "close_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Settle Arrival Time", field: "settle_arrival_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Closing Run Time", field: "closing_run_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Update Time", field: "update_time", type: "String", editable: true, editType: "Text", width: 100}
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "TRADING PLATFORM",
				    	    	caption: "Trading Platform", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Platform", field: "trading_platform", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					},					
			        miscellaneous: {
			        	title: "Miscellaneous", 
			        	alias: "Misc",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "EM Admin Status",
									schema: {
										emadmin_status: {back: "ASSET.ENTITYMASTERINGSTATUS", label: "EM Admin Status", type: "Text", readOnly:true},
					    		    	emadmin_meaning: {back: "", label: "EM Admin Status Meaning", type :"Text", readOnly:true},
					    		    	emadmin_begin_date: {back: "ASSET.ENTITYMASTERINGSTATUSDATE", label: "Begin Date", type: "Text", readOnly:true},
					    		    	emadmin_button : {back: "", label: "", type: "Button", text: "History", className: "btn-primary"}			
									}
								},
								{
									title: "Time Series",
									schema: {
										timeseries_adjusted: {back: "", label: "Basic Gap Adjusted", type: "Checkbox", readOnly: true},
										timeseries_trigger: {back: "", label: "Basic Gap Adjustment Trigger", type :"Text", readOnly:true},
										timeseries_button : {back: "", label: "", type: "Button", text: "Other Adjustment History", className: "btn-primary"}			
									}
								}
							]
			        	},
			        	{
			    	    	type: "table",
			    	    	id: "DN",
			    	    	caption: "Forthcoming Major DN",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
								{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
								{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 140},
								{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 280},
								{name: "Effective Date", field: "effective_date", type: "String", editable: true, editType: "Text", width: 160}      	        	
			    	        ]
			    	    },
			    	    {
			    	    	type: "table",
			    	    	id: "DE",
			    	    	caption: "Forthcoming Major DE",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 220},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 360}
			    	        ]
			    	    }]	
			        },               
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION",
			        	    	caption: "",  
			        	    	actions: [2,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "String", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }			
				}
			};
		
		var derivativeOthers = {
				title: "Derivative Others Quote",
				type: "ASSET",
				module: "DERIVATIVE_OTHERS",
				sections: {
					core: {
						title: "Quote", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										ric: {back: "RIC", label: "RIC", type: "Text", validators: ['required']},
										category: {back: "ASSET CATEGORY", label: "Category", type :"InputMeaning", hasMeaning: true},
										permid: {back: "PERMID", label: "PERMID", type: "Text", readOnly: true },
										tag: {back: "TAG CLASSIFICATION", label: "Tag", type: "Text", readOnly: true },
										state: {back: "ASSET STATE", label: "Asset State", type: "Text", readOnly: true},
										retireDate: {back: "RETIRE DATE", label: "Retire Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										currency: {back: "QUOTATION CURRENCY", label: "Currency", type: "SelectDropdown", elem_id: "currency", actions: [0,1,2,3]},
										exchange: {back: "QUOTATION GROUPED BY PSEUDO EXCH", label: "Exchange", type: "SelectDropdown", elem_id: "exchange", actions: [0,1,2,3]/*, validators: ['requiredResult']*/ },
										trades: {back: "TRADES", label:"",type:"Accessory"},
										sourceType: {back: "TRADES", field: "SOURCE TYPE", label:"Source Type", type: "Text", readOnly: true},
										sourceName: {back: "TRADES", field: "COMMON NAME", label:"Source Name", type: "Text", readOnly: true},
										expiry: {back: "EXPIRY DATE", label: "Expiry", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										priceUnit: {back: "PRICING UNIT", label: "Price Unit", type: "SelectDropdown", elem_id: "priceUnit"},
										contractDate: {back: "CONTRACT DATE", label: "Contract Date", type :"Date", yearEnd: 2020, noDay: "yes"/*, validators: [{type:"dateFormat"}]*/},
										startDate: {back: "", label: "Start Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										endDate: {back: "", label: "End Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]},
										daysToMaturity: {back: "", label: "Days to Maturity", type :"Text", readOnly: true}
									}
								}
							]
						}]
					},					
					importantDates: {
						title: "Important Dates",  
						components: [
							{
				    	    	type: "table", 
				    	    	id: "IMPORTANTDATES",
				    	    	caption: "", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 220 },
				    	            {name: "Date", field: "VALUE", type: "String", editable: true, editType: "Text", width: 480}
				    	        ]
				    	    }]
					},  
			        name: {
			        	title: "Name",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME",
			        	    	caption: "Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
									{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
									{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
									{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
								]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "NAME.LOCAL",
			        	    	caption: "Local Language Name", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 20 },
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Language Code", field: "LANGUAGE.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 120},
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	        	{name: "Transliterated Name", field: "TRANSLITERATED NAME", type: "String", editable: true, editType: "Text", width: 120},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        identifier: {
			        	title: "Identifier",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "IDENTIFIER",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	        	{name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "Text", width: 360},
			        	        	{name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        clsSchema: {
			        	title: "Classification Schema",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "CLASSIFICATIONSCHEME",
			        	    	caption: "", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4], 
			        	    	cols : [
			        	                {name: "Property", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180 },
			        	                {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "ASSET.CLASSIFIER", width: 180},
			        	                {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 180},
			        	                {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 160}
			        	        ]
			        	    }
			        	]
			        },
			        refData: {
			        	title: "Search Reference Data",////////////////
			        	alias: "Reference Data",
			        	components: [
								{
									type: "table", 
									id: "UNIFYING ROOT",
									caption: "Unifying Root",
									actions: [4],
									history: false,
									cols : [
									    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
									    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}
									]
								},
								{
									type: "table", 
									id: "RELATED PAGE",
									caption: "Related Explanatory IDN Pages",
									actions: [1,4],
									history: false, 
									cols : [
									    {name: "Page RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
									]
								},
								{	        		
									type: "form", 
									contents: [
										{
											//title: "", 
											schema: {
												primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primarychain", actions: [0,3] },
												displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displaytype", hasMeaning: true}											
											}
										}
									]
				        	    }        	
			        	]	
			        },               
			        assetRelationship: {
			        	title: "Asset Relationship",////////////////
			        	components: [
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Base Asset Relationship", 
										schema: {
											pilc: {back: "", label: "PILC", type: "Text"},
					        				baseCommonname: {back: "", label: "Common Name", type :"Text"} 			
										}
									}
								]
			        	    },
			        	    {	        		
								type: "form", 
								contents: [
									{
										title: "Source/Contributor Asset Relationships (To Quote)", 
										schema: {
											sourceOrgid: {back: "", label: "ORGID", type: "Text"},
					        				sourceCds: {back: "", label: "CDS Contributor Code", type :"Text"},
					        				sourceCommonname: {back: "", label: "Common Name", type :"Text"} 
										}
									}
								]
			        	    }
			        	]	
			        },
			        swap: {
			        	title: "SWAP Constituent",
			        	alias: "SWAP",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "SWAP CONSTITUENT",
			        	    	caption: "SWAP Constituent",        	    	 
			        	    	actions: [1,4],
			        	    	history: false,
			        	    	cols : [
			        	        	{name: "RIC", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 220},
			        	        	{name: "Asset State", field: "ASSET STATE", type: "String", relative: "", editable: true, editType: "Content", width: 140},
			        	        	{name: "Common Name", field: "COMMON NAME", type: "String", relative: "", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	actions: [1,3,4],
			        	    	history: false,
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        sedol: {
			        	title: "SEDOL Secondary Quote Relationship",////////////////
			        	alias: "SEDOL",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "SEDOL Maintenance",
									schema: {
										sedol_value: {back: "SEDOL", label: "Value", type: "Text"},
										sedol_begin_date: {back: "SEDOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}, 		
										sedol_setPri: {back: "SEDOL.PRIMARY", label: "Set Primary", type: "Checkbox"}
									}
								},
								{
									title: "LSE OPOL Maintenance",
									schema: {
										opol_value: {back: "LSE OPOL", label: "Value", type :"Text", readOnly: true},
										opol_meaning: {back: "LSE OPOL", field: "CLA_MEANING", label: "Meaning", type :"Text", readOnly: true},
										opol_begin_date: {back: "LSE OPOL", field: "BEGIN_DATE", label: "Begin Date", type :"Text", readOnly: true}
									}
								},
								{
									title: "Common",
									schema: {
										sedol_commonname: {back: "SEDOL", field: "COMMON_NAME", label: "Common Name", type: "Text"},
										sedol_mic: {back: "MIC", label: "MIC", type: "SelectDropdown", elem_id: "mic"}	
									}
								}
							]},
				        	{
								type: "table", 
								id: "SEDOL",
								caption: "SEDOL Secondary Quote Relationship", 
								history: true, 
								readOnly: true,
								cols : [
					        		{name: "RIC", field: "RIC", type: "String" },
					        		{name: "Asset State", field: "ASSET_STATE", type: "String"},
					        		{name: "Common Name", field: "COMMON_NAME", type: "String"},
					        		{name: "MIC", field: "MIC", type: "String"},
					        		{name: "Target Listing", field: "TARGET_LISTING", type: "Checkbox"}
				        		]
							}
			        	]	
			        },
			        ladder: {
			        	title: "Ladder",
			        	components: [
			        	    {
			        	    	type: "table", 
			        	    	id: "TICK LADDER",
			        	    	caption: "Tick Ladder Assignment", 
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN DATE", type: "Date", width: 120}
			        	        ]
			        	    },
			        	    {
			        	    	type: "table", 
			        	    	id: "LOT LADDER",
			        	    	caption: "Lot Ladder Assignment",
			        	    	history: true, 
			        	    	actions: [1,2,3,4],
			        	    	cols : [
			        	        	{name: "Flag", field: "NOT APPLICABLE FLAG", type: "Boolean", editable: true, editType: "Checkbox", width: 30 },
			        	            {name: "Name", field: "NAME", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective From", field: "EFFECTIVE FROM", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Effective To", field: "EFFECTIVE TO", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Price Indicator", field: "PRICE TYPE.CLA_VALUE", type: "String", editable: true, editType: "Text", width: 100},
			        	            {name: "Meaning", field: "PRICE TYPE.CLA_MEANING", type: "String", editable: true, editType: "Text", width: 130},
			        	            {name: "Begin Date", field: "BEGIN_DATE", type: "Date", width: 120}
			        	        ]
			        	    }
			            ]
					},
					tradingInfo: {
						title: "Trading Info",  
						components: [
							{
								type: "form", 
								contents: [
									{
										schema: {
											tradingMarket: {back: "", label: "Trading Market", type: "SelectDropdown", elem_id: "tradingmarket"}
										}
									}
								]
							},
							{
				    	    	type: "table", 
				    	    	id: "TRADINGHOURS",
				    	    	caption: "Trading Hours", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Session", field: "trading_session", type: "String", editable: true, editType: "SelectDropdown", width: 160 },
				    	            {name: "Open Time", field: "open_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Close Time", field: "close_time", type: "String", editable: true, editType: "Text", width: 100},
				    	            {name: "Settle Arrival Time", field: "settle_arrival_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Closing Run Time", field: "closing_run_time", type: "String", editable: true, editType: "Text", width: 110},
				    	            {name: "Update Time", field: "update_time", type: "String", editable: true, editType: "Text", width: 100}
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "TRADINGPLATFORM",
				    	    	caption: "Trading Platform", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Trading Platform", field: "trading_platform", type: "String", editable: true, editType: "SelectDropdown", width: 700 }
				    	        ]
				    	    },
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					},
			        miscellaneous: {
			        	title: "Miscellaneous", 
			        	alias: "Misc",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "EM Admin Status",
									schema: {
										emadmin_status: {back: "ASSET.ENTITYMASTERINGSTATUS", label: "EM Admin Status", type: "Text", readOnly:true},
					    		    	emadmin_meaning: {back: "", label: "EM Admin Status Meaning", type :"Text", readOnly:true},
					    		    	emadmin_begin_date: {back: "ASSET.ENTITYMASTERINGSTATUSDATE", label: "Begin Date", type: "Text", readOnly:true},
					    		    	emadmin_button : {back: "", label: "", type: "Button", text: "History", className: "btn-primary"}			
									}
								},
								{
									title: "Time Series",
									schema: {
										timeseries_adjusted: {back: "", label: "Basic Gap Adjusted", type: "Checkbox", readOnly: true},
										timeseries_trigger: {back: "", label: "Basic Gap Adjustment Trigger", type :"Text", readOnly:true},
										timeseries_button : {back: "", label: "", type: "Button", text: "Other Adjustment History", className: "btn-primary"}			
									}
								}
							]
			        	},
						{
			    	    	type: "table",
			    	    	id: "DN",
			    	    	caption: "Forthcoming Major DN",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
								{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
								{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 140},
								{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 280},
								{name: "Effective Date", field: "effective_date", type: "String", editable: true, editType: "Text", width: 160}    	        	
			    	        ]
			    	    },
			    	    {
			    	    	type: "table",
			    	    	id: "DE",
			    	    	caption: "Forthcoming Major DE",        	    	 
			    	    	actions: [1,2,3,4],
			    	    	history: false,
			    	    	cols : [
			    	        	{name: "Number", field: "number", type: "String", editable: true, editType: "Text", width: 120},
			    	        	{name: "Title", field: "title", type: "String", editable: true, editType: "Text", width: 220},
			    	        	{name: "Link", field: "link", type: "String", editable: true, editType: "Text", width: 360}
			    	        ]
			    	    }]	
			        },
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION",
			        	    	caption: "",  
			        	    	actions: [2,4],
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "String", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }
				}
			};

		switch(type){
			case "COMMODITY":
				return commodity;
				break;
			case "FUTURE_OPTION":
				return futuresOption;
				break;
			case "CASH_OPTION":
				return cashOption;
				break;
			case "DERIVATIVE_FUTURE":
				return derivativeFuture;
				break;
			case "DERIVATIVE_OTHERS":
				return derivativeOthers;
				break;					
			default:
				return basic;
		};
		
	};
	
	PT.getRootUricPage = function(type) {
		var root = {
				title: "ROOT",
				type: "ROOT",
				module: "ROOT",
				sections: {
					core: {
						title: "Root Specification", 
						alias: "Root", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										rootValue: {back: "ROOT VALUE", label: "Root Value", type: "Text", validators: ['required']},
										rootState: {back: "ROOT STATE", label: "Root State", type: "Text", readOnly: true},
										description: {back: "DESCRIPTION", label: "Description", type: "Text" }							
									}
								}
							]
						}]
					},
			        assetInfo: {
			        	title: "Asset Farout Information",
			        	alias: "Asset Info",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										commonName: {back: "COMMON NAME", label: "Common Name", type: "Text"},
										shortName: {back: "SHORT NAME", label: "Short Name", type: "Text"},
										tagValue: {back: "TAG VALUE", label: "Tag Value", type: "SelectDropdown", elem_id: "tagvalue"},
										priceUnit: {back: "PRICING UNIT", label: "Price Unit", type: "SelectDropdown", elem_id: "priceunit"}								
									}
								}
							]
						}]
					},
					continuationSeriesInfo: {
			        	title: "Continuation Series Information",
			        	alias: "Continuation Info",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										futureAssetType: {back: "FUTURES ASSET TYPE", label: "Future Asset Type", type: "SelectDropdown", elem_id: "futureassettype"},
										numberOfC: {back: "NUMBER OF C SERIES TO BUILD", label: "Number Of C Series To Build", type: "Select", options: function(callback) {
									        var arr = ["NONE","ALL"], range = _.range(1, 141);
											ops = $.merge(arr, range);
									        callback(ops);
									    }},
										numberOfCn: {back: "NUMBER OF CM SERIES TO BUILD", label: "Number Of Cm Series To Build", type: "Select", options: function(callback) {
									        var arr = ["NONE","ALL"], range = _.range(1, 141);
											ops = $.merge(arr, range);
									        callback(ops);
									    }},
										noOfDays: {back: "NUMBER OF DAYS BEFORE EXPIRACY", label: "No Of Days Before Expiry To Rollover", type: "Select", options: [0,1,2,3,4,5]},
										switchMonths: {back: "SWITCH MONTHS", label: "Switch Months", type: "Text"},
										cv: {back: "CV SERIES BASIS GAP ADJUSTMENT", label: "Cv Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "cv"},
										coi: {back: "COI SERIES BASIS GAP ADJUSTMENT", label: "Coi Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "coi"},
										cvoi: {back: "CVOI SERIES BASIS GAP ADJUSTMENT", label: "Cvoi Series Basis Gap Adjustment", type: "SelectDropdown", elem_id: "cvoi"},
										historyStartDate: {back: "HISTORY START DATE", label: "History Start Date", type :"jqueryui.Date", validators: [{type:"dateFormat"}]}							
									}
								}
							]
						}]
			        },
			        additionalReferenceInfo: {
			        	title: "Additional Reference Information",
			        	alias: "Additional Info",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										methodOfDelivery: {back: "METHOD OF DELIVERY", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
										cashInLieu: {back: "CASH IN LIEU", label: "Cash In Lieu", type: "DigitNumber"},
										initialMargin: {back: "INITIAL MARGIN", label: "Initial Margin", type: "DigitNumber"},
										tickValue: {back: "TICK VALUE", label: "Tick Value", type: "DigitNumber"},
										dailyTradingLimit: {back: "DAILY TRADING LIMIT", label: "Daily Trading Limit", type: "DigitNumber"},
										tradingStyle: {back: "TRADING STYLE", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
										contractType: {back: "CONTRACT TYPE", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
										periodicity: {back: "PERIODICITY", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
										adjustedFlag: {back: "ADJUSTED FLAG", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"}
									}
								}
							]
						}]
			        },
			        searchData: {
			        	title: "Search Data",
			        	components: [{
							type: "table", 
							id: "UNIFYING ROOT",
							caption: "Unifying Root",
							actions: [4],
							history: false,
							cols : [
							    {name: "Unifying Root", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 280 },
							    {name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 420}
							]
						},{
							type: "form", 
							contents: [
								{
									schema: {
										displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "displayType"},
										primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "primaryChain"}
									}
								}
							]
						}]
			        },
			        assetRelationship: {
			        	title: "Asset Relationship",
			        	components: [{
							type: "form", 
							contents: [
								{
									title: "Underlying Asset",
									schema: {
										underlyingAsset_ric: {back: "UNDERLYING ASSET", field: "RIC", label: "RIC", type: "SelectDropdown", elem_id: "uaric"},
										underlyingAsset_notional: {back: "UNDERLYING ASSET", field: "CATEGORY.CLA_VALUE", label: "Notional Product", type: "SelectDropdown", elem_id: "uanotional"},
										blank_div: {back: "", label: "", type: "Hidden"},
										notional_product: {back: "", label: "", type: "Button", text: "Notional Product", className: "btn-primary"}
									}
								},
								{
									title: "Secondary Underlying Asset",
									schema: {
										secondaryUnderlyingAsset_ric: {back: "SECONDARY UNDERLYING ASSET", field: "RIC", label: "RIC", type: "SelectDropdown", elem_id: "suaric"}
									}
								}
							]
			        	},
			        	{
			    	    	type: "table",
			    	    	id: "RCS UNDERLYING PRODUCT",
			    	    	caption: "RCS Underlying Product",        	    	 
			    	    	actions: [4],
			    	    	history: false, 
			    	    	cols : [
			    	        	{name: "Value", field: "CATEGORY.CLA_VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 280 },
			    	        	{name: "Meaning", field: "CATEGORY.CLA_MEANING", type: "String", relative: "CATEGORY.CLA_VALUE", editable: true, editType: "Content", width: 420}
			    	        ]
			    	    },
			    	    {
							type: "form", 
							contents: [
								{
									schema: {
										underlying_product: {back: "", label: "", type: "Button", text: "Underlying Product", className: "btn-primary"}
									}
								}
							]
			        	}]	
			        }, 
			        relatedNews: {
			        	title: "Related News",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "RELATED NEWS",
			        	    	caption: "",
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 300 },
			        	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 500}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        relatedPages: {
			        	title: "Related Pages",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "IDN RELATED PAGE",
			        	    	caption: "",
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Value", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 800 }
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        crsUnit: {
			        	title: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION TYPE",
			        	    	caption: "",  
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "DigitNumber", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        },
					tradingInfo: {
						title: "Trading Info",  
						components: [
				    	    {
				    	    	type: "table", 
				    	    	id: "SESSION INDICATOR",
				    	    	caption: "Session Indicator", 
				    	    	history: false, 
				    	    	actions: [4],
				    	    	cols : [
				    	        	{name: "Session Indicator", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", width: 300 },
				    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 400} 
				    	        ]
				    	    }]
					}			
				}
			};
		
		var uric = {
				title: "URIC",
				type: "URIC",
				module: "URIC",
				sections: {
					core: {
						title: "Stub Data", 
						components: [{
							type: "form", 
							contents: [
								{
									schema: {
										cashOrFuture: {back: "OPTION TYPE", label: "Cash Or Future", type: "Select", options: ["C", "F"]},
										ricStub: {back: "RIC STUB", label: "RIC Stub", type: "Text"},
										exerciseStyle: {back: "EXERCISE STYLE", label: "Exercise Style", type: "SelectDropdown", elem_id: "exercisestyle"},
										methodOfDelivery: {back: "METHOD OF DELIVERY", label: "Method Of Delivery", type: "SelectDropdown", elem_id: "methodofdelivery"},
										cashInLieu: {back: "CASH IN LIEU", label: "Cash In Lieu", type: "DigitNumber"},
										tickValue: {back: "TICK VALUE", label: "Tick Value", type: "DigitNumber"}						
									}
								}
							]
						}]
					},
			        equity_index_uric: {
			        	title: "Equity/Index URIC",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										uricAlias: {back: "ALIAS", label: "URIC Alias", type: "SelectDropdown", elem_id: "uricalias"},
										leaps: {back: "LEAPS", label: "Leaps", type: "Select", options: ["NO", "YES"]},
										underlyingRIC: {back: "UNDERLYING ASSET", field: "RIC", label: "Underlying RIC", type: "SelectDropdown", elem_id: "underlyingric"},
										secondaryUnderlyingRIC: {back: "SECONDARY UNDERLYING ASSET", field: "RIC", label: "Secondary Underlying RIC", type: "SelectDropdown", elem_id: "secondaryunderlyingric"}
									}
								}
							]
						}]
					},
					future_uric: {
			        	title: "Future URIC",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										assetRoot: {back: "ASSET ROOT", label: "Asset Root", type: "SelectDropdown", elem_id: "assetroot"},
										secondaryAssetRoot: {back: "SECONDARY ROOT", label: "Secondary Asset Root", type: "SelectDropdown", elem_id: "secondaryassetroot"},
										monthOffset: {back: "MONTH OFFSET", label: "Month Offset", type: "DigitNumber"}
									}
								}
							]
						},
						{
							type: "table", 
							id: "MAPPING OFFSET PATTERN",
							caption: "Mapping Offset Pattern",
							history: false, 
							cols : [
							    {name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown", hasMeaning: true, width: 300 },
							    {name: "Meaning", field: "CLA_MEANING", type: "String", editable: true, editType: "Content", relative: "VALUE", width: 500 }
							]
						}]
			        },
			        related_page_news: {
			        	title: "Related Page/News",
			        	components: [{
							type: "table", 
							id: "RELATED PAGE",
							caption: "Related Page",
							history: false, 
							cols : [
							    {name: "Value", field: "RIC", type: "String", editable: true, editType: "SelectDropdown", width: 800 }
							]
						},
						{
			    	    	type: "table",
			    	    	id: "RELATED NEWS",
			    	    	caption: "Related News",
			    	    	history: false, 
			    	    	cols : [
			    	        	{name: "Value", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", width: 300 },
			    	        	{name: "Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 500}
			    	        ]
			    	    }]
			        },
			        additional_info: {
			        	title: "Additional Info",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										tradingStyle: {back: "TRADING STYLE", label: "Trading Style", type: "SelectDropdown", elem_id: "tradingstyle"},
										periodicity: {back: "PERIODCITY", label: "Periodicity", type: "SelectDropdown", elem_id: "periodicity"},
										adjustedFlag: {back: "ADJUSTED FLAG", label: "Adjusted Flag", type: "SelectDropdown", elem_id: "adjustedflag"},
										contractType: {back: "CONTRACT TYPE", label: "Contract Type", type: "SelectDropdown", elem_id: "contracttype"},
										initialMargin: {back: "INITIAL MARGIN", label: "Initial Margin", type: "DigitNumber"},
										dailyTradingLimit: {back: "DAILY TRADING LIMIT", label: "Daily Trading Limit", type: "DigitNumber"},
										seriesDescription: {back: "SERIES DESCRIPTION", label: "Series Description", type: "Text"}							
									}
								}
							]
						}]
			        },
			        search_detail: {
			        	title: "Search Details",
			        	components: [{
							type: "form", 
							contents: [
								{
									schema: {
										s_primaryChain: {back: "PRIMARY CHAIN", field: "RIC", label: "Primary Chain", type: "SelectDropdown", elem_id: "sprimarychain"},
										s_displayType: {back: "DISPLAY TYPE", label: "Display Type", type: "SelectDropdown", elem_id: "sdisplaytype", hasMeaning: true},										
										strikePriceMultiplier: {back: "STRIKE PRICCE MULTIPLIER", label: "StrikePriceMultiplier", type :"DigitNumber"}							
									}
								}
							]
			        	}]	
			        }, 
			        locations: {
			        	title: "Locations",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "LOCATIONS",
			        	    	caption: "",        	    	 
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Location Type", field: "TYPE", type: "String", editable: true, editType: "SelectDropdown", width: 180},
			        	        	{name: "Location Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_l", hasMeaning: true, width: 180},
			        	        	{name: "Location Description", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 340}
			        	        ]
			        	    }
			        	]        	                                   
			        },
			        crsUnit: {
			        	title: "Cross Unit Conversion Type and Factor",
			        	alias: "Cross Unit Conversion",
			        	components: [
			        	    {
			        	    	type: "table",
			        	    	id: "CROSS UNIT CONVERSION TYPE",
			        	    	caption: "",  
			        	    	history: false, 
			        	    	cols : [
			        	        	{name: "Type Name", field: "VALUE", type: "String", editable: true, editType: "SelectDropdown_c", classifier: "", clsType: "alone", hasMeaning: true, width: 140 },
			        	        	{name: "Type Meaning", field: "CLA_MEANING", type: "String", relative: "VALUE", editable: true, editType: "Content", width: 220},
			        	        	{name: "Factor", field: "FACTOR", type: "DigitNumber", editable: true, editType: "Text", width: 340}
			        	        ]
			        	    }
			        	]
			        }		
				}
			};
		
		switch(type){
			case "root":
				return root;
				break;
			case "uric":
				return uric;
				break;
			default:
				return {};
		};
	};

}.call(this));